package com.platform.service;

import com.platform.dao.ApiGroupPurchaseMapper;
import com.platform.entity.GroupPurchaseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ApiGroupPurchaseService {
    @Autowired
    private ApiGroupPurchaseMapper apiGroupPurchaseMapper;

    public GroupPurchaseVo queryObject(Integer id){
        return apiGroupPurchaseMapper.queryObject(id);
    }

    public List<GroupPurchaseVo> queryList(Map<String, Object> map){
        return apiGroupPurchaseMapper.queryList(map);
    }
}
